<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page isELIgnored="false" %>
<%@ include file="/WEB-INF/views/common/includes.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="m4f" uri="/WEB-INF/tld/m4f-dataTable.tld" %>

<script type="text/javascript" src="<c:url value='/static/dataTables/media/js/jquery.dataTables.js'/>"></script>
<script type="text/javascript" src="<c:url value='/static/js/jquery.switchify-1.0.js'/>"></script>

<div class="span-16 last table">		
	<m4f:datatable styleId="applications" ajaxUriSource="/es/admin/application/list/table">
		<m4f:datacol i18nName="id" dataProp="id"/>
		<m4f:datacol i18nName="name" dataProp="name"/>
		<m4f:datacol i18nName="company" dataProp="company" renderCallback="renderCompanyNameById"/>
		<m4f:actioncol i18nName="actions" jsFunctionName="crud">
			<m4f:action i18nName="Detail" url="/${rc.locale.language}/admin/application/detail/" name="Detail"></m4f:action>
			<m4f:action i18nName="Edit" url="/${rc.locale.language}/admin/application/edit/" name="Edit"></m4f:action>
			<m4f:action i18nName="Delete" url="/${rc.locale.language}/admin/application/edit/" name="Delete"></m4f:action>
		</m4f:actioncol>
	</m4f:datatable>
</div>
<div class="span-16 last table_actions">			
  <a href='<c:url value='/${rc.locale.language}/admin/application/'/>' title='<fmt:message key="action.application.add" />'><fmt:message key="action.application.add"/></a>
</div>